﻿using MRSite.AutoMapper.Attributes;
using MRSite.Entity;
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MRSite.EntityDto
{
    [AutoMapBoth(typeof(Express))]
    [ProtoContract]
    public class ExpressDto
    {
        [ProtoMember(1)]
        public int id { get; set; }

        [ProtoMember(2)]
        public String title { get; set; }

        [ProtoMember(3)]
        public String express_code { get; set; }


        [ProtoMember(4)]
        public Decimal express_fee { get; set; }


        [ProtoMember(5)]
        public String website { get; set; }


        [ProtoMember(6)]
        public String remark { get; set; }


        [ProtoMember(7)]
        public int sort_id { get; set; }


        [ProtoMember(8)]
        public int is_lock { get; set; }


        [ProtoMember(9)]
        public string dispatchname { get; set; }

        [ProtoMember(10)]
        public int dispatchtype { get; set; }


        [ProtoMember(11)]
        public int calculatetype { get; set; }


        [ProtoMember(12)]
        public decimal firstprice { get; set; }

        [ProtoMember(13)]
        public decimal secondprice { get; set; }


        [ProtoMember(14)]
        public int firstweight { get; set; }

        [ProtoMember(15)]
        public int secondweight { get; set; }

        [ProtoMember(16)]
        public decimal firstnumprice { get; set; }

        [ProtoMember(17)]
        public decimal secondnumprice { get; set; }

        [ProtoMember(18)]
        public int firstnum { get; set; }


        [ProtoMember(19)]
        public int secondnum { get; set; }


        [ProtoMember(20)]
        public string areas { get; set; }


        [ProtoMember(21)]
        public string carriers { get; set; }

        [ProtoMember(22)]
        public int shopid { get; set; }
    }
}
